/*
 * @Author: Xia_cc 978487464@qq.com
 * @Date: 2022-08-12 14:20:57
 * @LastEditors: Xia_cc 978487464@qq.com
 * @LastEditTime: 2022-08-12 14:57:52
 * @FilePath: \bpm-management-system\src\comment\tijiaoshenheModle.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
//没用上

import React,{useState} from 'react'
import {Button, Modal} from 'antd'

export default function TiJiaoShenHeModle() {
    //确认提交模态框
  const [isModalVisible, setIsModalVisible] = useState(false);

  const showModal = () => {
    setIsModalVisible(true);
  };

  const handleOk = () => {
    setIsModalVisible(false);
  };

  const handleCancel = () => {
    setIsModalVisible(false);
  };
  return (
    <div>
        <Button onClick={showModal}>提交审核</Button>
        <Modal title="确认提交" visible={isModalVisible} onOk={handleOk} onCancel={handleCancel} centered okText="">
        <h2 className='ifDel'>是否继续提交材料采购付款申请</h2>
        <p className='del'>提交后将不可撤回</p>
      </Modal>
    </div>
  )
}
